package cn.com.w.redis.use.common.enums;

import lombok.Getter;

/**
 * 排行榜类型
 */
@Getter
public enum RankTypeEnum {

    /**
     * 0-总榜；1-日榜；2-周榜；3-月榜
     */
    RANK_TOTAL(0, "总榜"),
    RANK_DAY(1, "日榜"),
    RANK_WEEK(2, "周榜"),
    RANK_MONTH(3, "月榜");

    /**
     * 类型code
     */
    private Integer typeCode;

    /**
     * 类型name
     */
    private String typeName;

    RankTypeEnum(Integer typeCode, String typeName) {
        this.typeCode = typeCode;
        this.typeName = typeName;
    }

}
